<?php die;?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>miceCMS,觅策企业网站管理系统</title>
<link href="css/default.css" rel="stylesheet" type="text/css">
<link href="css/table.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/table.js"></script>
<script type="text/javascript" src="js/selectall.js"></script>
</head>

<body>
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
	<td height="5"></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
	<form action="<!--{$index}-->" method="post">
	<tr > 
		<td bgcolor="#F9F9F9" height="30" valign='middle'>
			&nbsp;&nbsp;级别&nbsp;<select name='levelid' id='levelid'>
								<option value='0'>全部</option>
							  </select>&nbsp;状态&nbsp;<select name='statusid' id='statusid'>
								<option value='0'>全部</option>
							  </select>&nbsp;登录名&nbsp;<input name='keywords' id='keywords' type="text" size="10" value="<!--{$keywords}-->">&nbsp;每页显示条数&nbsp;<select name='pages' id='pages'>
								<option value='10' <!--{if 10==$pages}-->selected<!--{/if}-->>10</option>
								<option value='20' <!--{if 20==$pages or 0>=$pages}-->selected<!--{/if}-->>20</option>
								<option value='30' <!--{if 30==$pages}-->selected<!--{/if}-->>30</option>
								<option value='50' <!--{if 50==$pages}-->selected<!--{/if}-->>50</option>
								<option value='100' <!--{if 100==$pages}-->selected<!--{/if}-->>10</option>						
							  </select>&nbsp;<select name='orders' id='orders'>
									<option value='rd' <!--{if "rd"==$orders}-->selected<!--{/if}-->>注册时间降序</option>		
									<option value='ra' <!--{if "ra"==$orders}-->selected<!--{/if}-->>注册时间升序</option>		
									<option value='ld' <!--{if "ld"==$orders}-->selected<!--{/if}-->>最后登录时间降序</option>
									<option value='la' <!--{if "la"==$orders}-->selected<!--{/if}-->>最后登录时间升序</option>
									<option value='pd' <!--{if "pd"==$orders}-->selected<!--{/if}-->>文章数降序</option>
									<option value='pa' <!--{if "pa"==$orders}-->selected<!--{/if}-->>文章数升序</option>
							  </select>&nbsp;&nbsp;<input type="submit" value="查 找">
		</td>
	</tr>
	</form>
</table>
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
	<td height="5"></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#BEBEBE" onmouseover="changeto()"  onmouseout="changeback()">
  <form action="<!--{$delete}-->" method="post" name="miceform" id="miceform">
  <tr align="center">
	<td width="3%" height="24" background="imgs/right-title-bg.gif"></td>
    <td width="3%" height="24" background="imgs/right-title-bg.gif"></td>
    <td width="10%" height="24" background="imgs/right-title-bg.gif">登录名</td>
	<td width="10%" height="24" background="imgs/right-title-bg.gif">真实姓名</td>
    <td width="5%" height="24" background="imgs/right-title-bg.gif">性别</td>
	<td width="5%" height="24" background="imgs/right-title-bg.gif">文章数</td>
	<td width="15%" height="24" background="imgs/right-title-bg.gif">会员组</td>
	<td width="5%" height="24" background="imgs/right-title-bg.gif">状态</td>
	<td width="14%" height="24" background="imgs/right-title-bg.gif">注册时间</td>
	<td width="14%" height="24" background="imgs/right-title-bg.gif">最后登录时间</td>
    <td width="8%" height="24" background="imgs/right-title-bg.gif">操作</td>
  </tr>
  <!--{foreach from=$results item=rs name=counter}-->
  <tr align="center">
	<td width="3%" class="tablecontent"><!--{$smarty.foreach.counter.iteration}--></td>
    <td width="3%" class="tablecontent"><input name="checkbox[<!--{$rs->getUserId()}-->]" id="checkbox[<!--{$rs->getUserId()}-->]" type="checkbox" value="<!--{$rs->getUserId()}-->" /></td>
    <td width="10%" class="tablecontent"><div align="left">&nbsp;<!--{$rs->getLoginname()}--></div></td>
	<td width="10%" class="tablecontent"><div align="left">&nbsp;<!--{$rs->getRealname()}--></td>
    <td width="5%" class="tablecontent"><!--{if 0==$rs->getSex()}-->保密<!--{elseif 1==$rs->getSex()}-->男<!--{else}-->女<!--{/if}--></td>
	<td width="5%" class="tablecontent"><!--{$rs->getPostnums()}--></td>
	<td width="15%" class="tablecontent"><div align="left">&nbsp;<!--{'micefun'|GroupName:$rs->getGroupId()}--></div></td>
	<td width="5%" class="tablecontent"><!--{if 0==$rs->getStatus()}-->正常<!--{else}-->禁止<!--{/if}--></td>
	<td width="14%" class="tablecontent"><!--{'micefun'|Num2Time:$rs->getRegdate()}--></td>
	<td width="14%" class="tablecontent"><!--{'micefun'|Num2Time:$rs->getLastlogindate()}--></td>
    <td width="8%" class="tablecontent"><a href="<!--{$edit}--><!--{$rs->getUserId()}-->">编辑</a>|<a href="<!--{$delete}--><!--{$rs->getUserId()}-->" onclick="JavaScript:return confirm('确定删除吗?')">删除</a></td>
  </tr>
  <!--{/foreach}-->
</table>
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
	<td height="5"></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
	<tr > 
		<td bgcolor="#F9F9F9" height="30" valign='middle'>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr > 
					<td bgcolor="#F9F9F9" height="30" valign='middle' width='30%'>
						&nbsp;&nbsp;<input name='chkAll' type='checkbox' id='chkAll' onclick='CheckAll(this.form)' value='checkbox'>全选&nbsp;<input type="submit" value="删除[D]" accesskey="d"/>&nbsp;<input type="button" value="添加[C]" accesskey="c" onclick="javascript:window.location.href='<!--{$create}-->'" />
					</td>
					<td bgcolor="#F9F9F9" height="30" valign='middle' align='right' width='70%'>
						<!--{$pager}-->&nbsp;&nbsp;
					</td>
				</tr>
			</table>
		</td>
	</tr>
	</form>
</table>
<br>
</body>
</html>